package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 driver_certificate
 * 
 * @author ruoyi
 * @date 2024-05-27
 */
public class DriverCertificate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 证件主键ID */
    private Long id;

    /** 司机身份证号 */
    @Excel(name = "司机身份证号")
    private String driverIdcard;

    /** 司机性别 */
    @Excel(name = "司机性别")
    private String driverSex;

    /** 车牌 */
    @Excel(name = "车牌")
    private String driverCarid;

    /** 车辆照片 */
    @Excel(name = "车辆照片")
    private String driverCarimg;

    /** 驾驶证照片 */
    @Excel(name = "驾驶证照片")
    private String driverLicense;

    /** 司机住址 */
    @Excel(name = "司机住址")
    private String driverAddress;

    /** 司机真实姓名 */
    @Excel(name = "司机真实姓名")
    private String driverRelname;

    /** 司机主键 */
    @Excel(name = "司机主键")
    private Long driverId;

    /** 司机活体状态 */
    @Excel(name = "司机活体状态")
    private Long driverStatus;

    /** 司机入住时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "司机入住时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date driverTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDriverIdcard(String driverIdcard) 
    {
        this.driverIdcard = driverIdcard;
    }

    public String getDriverIdcard() 
    {
        return driverIdcard;
    }
    public void setDriverSex(String driverSex) 
    {
        this.driverSex = driverSex;
    }

    public String getDriverSex() 
    {
        return driverSex;
    }
    public void setDriverCarid(String driverCarid) 
    {
        this.driverCarid = driverCarid;
    }

    public String getDriverCarid() 
    {
        return driverCarid;
    }
    public void setDriverCarimg(String driverCarimg) 
    {
        this.driverCarimg = driverCarimg;
    }

    public String getDriverCarimg() 
    {
        return driverCarimg;
    }
    public void setDriverLicense(String driverLicense) 
    {
        this.driverLicense = driverLicense;
    }

    public String getDriverLicense() 
    {
        return driverLicense;
    }
    public void setDriverAddress(String driverAddress) 
    {
        this.driverAddress = driverAddress;
    }

    public String getDriverAddress() 
    {
        return driverAddress;
    }
    public void setDriverRelname(String driverRelname) 
    {
        this.driverRelname = driverRelname;
    }

    public String getDriverRelname() 
    {
        return driverRelname;
    }
    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }
    public void setDriverStatus(Long driverStatus) 
    {
        this.driverStatus = driverStatus;
    }

    public Long getDriverStatus() 
    {
        return driverStatus;
    }
    public void setDriverTime(Date driverTime) 
    {
        this.driverTime = driverTime;
    }

    public Date getDriverTime() 
    {
        return driverTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("driverIdcard", getDriverIdcard())
            .append("driverSex", getDriverSex())
            .append("driverCarid", getDriverCarid())
            .append("driverCarimg", getDriverCarimg())
            .append("driverLicense", getDriverLicense())
            .append("driverAddress", getDriverAddress())
            .append("driverRelname", getDriverRelname())
            .append("driverId", getDriverId())
            .append("driverStatus", getDriverStatus())
            .append("driverTime", getDriverTime())
            .toString();
    }
}
